<?php

namespace api\business\model;

use think\Model;

class MediumModel extends Model
{
    /* 自动处理时间 */
    protected $autoWriteTimestamp = 'int';

    protected function setRegtimeAttr($fields)
    {
        return strtotime($fields);
    }
}